package com.qf.service.impl;
import com.qf.dao.PlaneSeatMapper;
import com.qf.service.PlaneSeatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class PlaneServiceImpl implements PlaneSeatService {
    @Autowired
    private PlaneSeatMapper planeSeatMapper;


    @Override
    public List<PlaneSeatMapper> findAllPlane(Integer pid, Integer ppid) {

        return planeSeatMapper.findAllPlane(pid,ppid);
    }

    @Override
    public List<PlaneSeatMapper> findHeat(Integer pid, Integer ppid) {

        return planeSeatMapper.findAllPlane(pid,ppid);
    }

    @Override
    public List<PlaneSeatMapper> findplane(String pppid) {

        return planeSeatMapper.findplane(pppid);
    }



}